package com.university.logistic.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 平台账号总表
 * </p>
 *
 * @author why
 * @since 2025年07月02日
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("user_info")
public class UserInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "user_id", type = IdType.AUTO)
    private Long userId;

    @TableField("username")
    private String username;

    @TableField("password")
    private String password;

    @TableField("student_num")
    private String studentNum;

    @TableField("phone_num")
    private String phoneNum;

    @TableField("store_info_id")
    private Long storeInfoId;

    @TableField("admin_info_id")
    private Long adminInfoId;

    @TableField("fixworker_info_id")
    private Long fixworkerInfoId;

    @TableField("creat_time")
    private LocalDateTime creatTime;

    @TableField("creat_type")
    private Integer creatType;

    @TableField("role_type")
    private Integer roleType;

    @TableField("comment_able")
    private Integer commentAble;

    @TableField("creatIuser_id")
    private Long creatiuserId;

    @TableField("del_flag")
    private Integer delFlag;

    @TableField("last_login_time")
    private LocalDateTime lastLoginTime;

    @TableField("login_ip")
    private String loginIp;

    @TableField("colums3")
    private String colums3;


}
